package com.base.cn.platform.os.entity.statistics.base;

import com.base.cn.platform.os.common.mybatis.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 基础统计中用户注册数据统计实体
 *
 * @author s.li
 * @date 2019/04/18
 */
@Data
public class ZStatisticsUserBaseCount extends BaseEntity {
    /**统计时间，以小时为单位*/
    private Date countTime;
    /**访客量（UV）*/
    private Integer visitorCount;
    /**注册人数*/
    private Integer regCount;
    /**活跃用户量*/
    private Integer activityUserCount;

    public Integer getRegCount() {
        return regCount==null?0:regCount;
    }

    public Integer getActivityUserCount() {
        return activityUserCount == null ?0 : activityUserCount;
    }

    public Integer getVisitorCount() {
        return visitorCount == null ? 0 : visitorCount;
    }
}
